Skip to content

Conversation

@vadimdemedes
Copy link
Contributor

Uses https://github.com/vadimdemedes/supertap to generate TAP output, without changing a single line of tests and a lot of the code was extracted from AVA itself, so it's pretty much backwards compatible.

Copy link
Member

@novemberborn novemberborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses vadimdemedes/supertap to generate TAP output, without changing a single line of tests and a lot of the code was extracted from AVA itself

Yay!

so it's pretty much backwards compatible.

Heh, "pretty much" implies there might be some behavioral changes?

todo: test.todo,
skip: test.skip,
comment: test.logs,
error: test.error ? dumpError(test.error, true) : null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dumpError doesn't return an Error instance, which supertaps API says is expected. Perhaps the API documentation should be loosened, or clearer on what properties are expected on non-Error objects?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, will clarify that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@vadimdemedes
Copy link
Contributor Author

Heh, "pretty much" implies there might be some behavioral changes?

I don't think so, since I haven't modified AVA's tests and they pass 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants